<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <title>完成工单</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="css/form.css" />
    <link rel="stylesheet" type="text/css" href="css/comm.css" />
    <link rel="stylesheet" type="text/css" href="css/gridcommlist.css" />
    <link rel="stylesheet" type="text/css" href="css/renwugongdancomplete.css" />
</head>

<body>
    <!-- <template type="text/x-template" id="item-template">
        <li>
            <span class="choosespan" v-on:click="choose_type(item)">
                <input type="radio" class="aui-radio" v-bind:checked="item.ID==selecttypeid">
            </span>
            <span class="name_span" v-on:click="toggle(item)">
              {{item.text}}
            </span>
            <ul class="level2" v-show="isOpen" v-if="isFolder">
                <tree-item v-for="(child, index) in item.children" :key="index" :item="child"></tree-item>
            </ul>
        </li>
    </template> -->
    <div id="app" v-cloak>
        <!-- <div class="aui_formbox edit mt10">
            <div class="aui_formitem col-star">
                <div class="aui_formtitle col-star">
                    工单类别22
                </div>
                <div v-on:click="open_type_list()" class="aui_formcontent">
                    {{TypeName}}
                </div>
            </div>
            <div v-if="is_type_list" class="choosetype_list">
                <ul class="mytree level0">
                    <template v-for="item in typelist">
                          <tree-item class="item" :item="item"></tree-item>
                      </template>
                </ul>
            </div>
        </div> -->
        <!-- <div class="aui_formitem formitem-lh mt10">
          <div class="aui_formtitle ">
            处理方式
          </div>
            <div class="aui_formcontent">
                <div v-on:click="do_select_type(1)" class="label-radio">
                    <input class="aui-radio" type="radio" name="processbtn" v-bind:checked="form.ProcessType==1"> 处理
                </div>
                <div v-on:click="do_select_type(2)" class="label-radio">
                    <input class="aui-radio" type="radio" name="processbtn" v-bind:checked="form.ProcessType==2"> 办结
                </div>
                <div v-if="FinalServiceTypeID==1" v-on:click="do_select_invalid()" class="label-radio">
                    <input class="aui-checkbox" type="checkbox" name="isnormal" v-bind:checked="form.IsInvalidOrder"> 异常工单
                </div>
            </div>
      </div> -->
        <div class="aui-content boxarea mainbox">
            <div class="box_title">
                <div v-if="form.processType==1" class="box_title_left fl">处理记录</div>
                <div v-if="form.processType==2" class="box_title_left fl">完工记录</div>
                <div v-if="form.processType==3" class="box_title_left fl">回访记录</div>
                <!-- <div v-if="FinalServiceTypeID==1" class="box_title_right fr">
                    <div v-if="IsParentProject==0" v-on:click="do_add_fee()" class="box_title_right_li fl">
                        <div class="box_title_right_li_img fl"><img src="../image/icon_mony.png" /></div>
                        <div class="box_title_right_li_txt fl">有偿</div>
                        <div class="cl"></div>
                    </div>
                    <div v-on:click="do_add_product()" class="box_title_right_li fl">
                        <div class="box_title_right_li_img fl"><img src="../image/icon_picking.png" /></div>
                        <div class="box_title_right_li_txt fl">领料</div>
                        <div class="cl"></div>
                    </div>
                    <div class="cl"></div>
                </div>  -->
                <div class="cl"></div>
            </div>
            <div class="box_msg">
                <div class="aui-list-item-inner">
                    <div class="aui-list-item-input">
                        <textarea placeholder="请填写记录(选填信息)" style="height: 6rem;" v-model="form.StatusDesc"></textarea>
                    </div>
                </div>
            </div>
            <!-- <div class="aui-row"> -->
                <div v-if="form.processType!=3"  class="imglist_box" style="margin-left: 0px;">
                    <div class="imglist_item" v-for="(item,index) in imglist">
                        <img  class="imgitem ml4" v-bind:src="item.url" />
                        <img v-on:click="remove_img(item.index)" class="onmouse_close" src="../image/close_mouseover.svg"  style="right: 0.8rem;"/>
                    </div>
                    <div v-if="imglist.length<4" class="imglist_item ml4">
                        <div class="img_plusbox">
                            <img v-on:click="choose_picture()" src="../image/photo_image.svg"/>
                        </div>
                        <span>最多支持{{maxuploadcount}}张</span>
                    </div>

                </div>
            <!-- </div> -->
            <div class="cl"></div>
        </div>
        <div class="bottom">
            <div class="aui_bottombtn" v-on:click="do_save()">保存</div>
        </div>
    </div>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/aui-toast.js"></script>
<script type="text/javascript" src="../script/aui-actionsheet.js"></script>
<script type="text/javascript" src="../script/config.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/vue.js"></script>
<script type="text/javascript" src="js/renwugongdancomplete.js"></script>

</html>
